package com.cheng.example.atguigu.design_pattern.visitor;

/*
 * @author 程帅
 * @createTime: 2020/11/8 19:40
 * @Created: with IntelliJ IDEA.
 */
public abstract class Person {

    //提供一个方法，让访问者可以访问
    public abstract void accept(Action action);
}
